﻿/******************************************************************************

  File Name     : linear_resize.h
  Version       : Initial Draft
  Author        : tongzhilin
  Created       : 2020/8/6
  Last Modified :
  Description   : linear_resize
  Function List :
  History       :
  1.Date        : 2020/8/6
    Author      : tongzhilin
    Modification: Created file

******************************************************************************/
#pragma once
#include "mp_common.h"
#include "mp_allocator.h"
#include "mp_mat.h"

/*
** 获取双线性插值tabs
*/
void make_tabs_linear_8u(const MpMat8u &src, const MpMat8u &dst,
    AlignedVector<INT32> &tabsx,AlignedVector<INT32> &tabsy,
    AlignedVector<INT32> &tabrx,AlignedVector<INT32> &tabry);

/*
** 双线性插值resize
*/
void resize_neon_linear_8u(const MpMat8u &src, MpMat8u &dst,
    const AlignedVector<INT32> &tabsx,const AlignedVector<INT32> &tabsy,
    const AlignedVector<INT32> &tabrx,const AlignedVector<INT32> &tabry);

